from calendar import c


x = 3
def func():
    "使用global来进行全局变量"
    global x
    x = x + 11
    print(x)
func()

stu_dict = {
    "a":"22",
    "b":"23",
    "c":"21",
}
def C1():
    stu_dict["c"] = "222"
C1()
print(stu_dict)

def C2():
    stu_dict = {}
    stu_dict["c"] = "222"
    print("C2函数里面的stu_dict()为：",stu_dict)
C2()
print("全局弹道stu_dict为：",stu_dict)